<!DOCTYPE html>
<html>
<head>
    <title>设置Token并跳转</title>
</head>
<body>
    <h1>正在设置Token并跳转到Dashboard...</h1>
    <script>
        // 设置测试token
        localStorage.setItem('admin_token', 'test-token-' + Date.now());
        console.log('Token已设置:', localStorage.getItem('admin_token'));
        
        // 立即跳转到dashboard
        setTimeout(() => {
            window.location.href = '/dashboard';
        }, 1000);
    </script>
</body>
</html>